#pragma once
#include <stdarg.h>
#include "fs.h"
#include "dsk.h"
#include "sector_node.h"

struct fmt_instance_struct {
    struct sector_list* list;
    struct fs_obj_struct* fs_obj;
    struct dsk_obj_struct* dsk_obj;
};

struct fmt_instance_struct* create_fmt_instance(enum fs_type_enum fs, enum dsk_type_enum dsk, ...);
void  flush_fmt_instance(struct fmt_instance_struct* fmt_instance);